/**
 * @name util.Validator
 * @class
 */
san.def("util.Validator",function(san){
	
	var URL;
	var EMAIL=/^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/;//E-mail yuanyan.cao@gmail.com
	var PID = /^[\d{15}|\d{18}]$/;//身份证
	var MPHONE = /\d{11}/;//手机号码
	var TEL = /\d{3,4}-\d{7,8}/;//电话号码 0771-3993923
	
	var isEmail = function(str){	
		return EMAIL.test(str);
	};
	

	var Validator=new Object;
	
	/**
	 * 表单验证
	 */
	var form=function(formName){
		
		//浏览器 HTML5 默认验证方式
		
		
	};
	
	//EXPOSE
	return {
		
		
	}
});

/**
 *  - HTML5 Form Validation
 *    
 *    placeholder 表单提示
 *    pattern
 *    required
 *    text
 *    email
 *    tel
 */